home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / makemdi2.zip / RIBBON.H < prev    next >
C/C++ Source or Header  |  1992-11-25  |  2KB  |  45 lines

  1. #ifndef CLASS_RIBBON
  2. #define CLASS_RIBBON "MakeMDI_Ribbon"
  3. // ==========================================================Purpose 
  4. // CHART.H - MDI ribbon dialog. 
  5. // 
  6. // MAKEMDI adaptation of Windows 3.1 SDK MAKEAPP system. 
  7. // 
  8. // MDI application design based on Chapter 7 of     
  9. // "Windows 3: A Developer's Guide" by Jeffrey Richter. 
  10. // 
  11. // Adaptation developed with permission of the author by  
  12. // John F. Holliday, Technisoft Corporation 
  13. // Telephone: (515) 472-9803, CompuServe: 71271,634 
  14. //
  15. // [DMM]    25-Nov-1992: Fixed crashing on exit
  16. //            Also tabified file to tabsize of 4
  17. //
  18. //            David M. Miller, Business Visions, Inc.
  19. //            Telephone: (212) 747-6118
  20. //            CompuServe: 72676,327
  21. //            internet: dmiller@hera.sbi.com
  22. // ==========================================================Private 
  23.  
  24. // Dialog procedure 
  25.  
  26. BOOL CALLBACK _export Ribbon_DlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  27. LRESULT            RibbonDlg_DlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
  28.  
  29. // Default message handler 
  30.  
  31. #define RibbonDlg_DefProc(hwnd, msg, wParam, lParam)    \
  32.     DefDlgProcEx(hwnd, msg, wParam, lParam, &fDefDlgEx)
  33.  
  34. // Message handlers 
  35.  
  36. BOOL            RibbonDlg_OnInitDialog(HWND hDlg, HWND hwndFocus, LPARAM lParam);
  37. VOID            RibbonDlg_OnCommand(HWND hDlg, UINT id, HWND hwndCtl, UINT codeNotify);
  38. VOID            RibbonDlg_OnEnable(HWND hDlg, BOOL fEnable);
  39. VOID            RibbonDlg_OnPaint(HWND hDlg);
  40.  
  41. // ===========================================================Public 
  42.  
  43. // ==============================================================End 
  44. #endif                            // !CLASS_RIBBON 
  45.